/*
* TreeNode header file
* created by psych0der on 12:46 am 11th feb 2012
* (c) psych0der all rights reserved

*/

template <typename TNODETYPE> class Tree;
template <typename TNODETYPE> class TNode
{
	friend class Tree<TNODETYPE>;
private:

TNODETYPE data;
TNode<TNODETYPE>  * lptr;
TNode<TNODETYPE>  * rptr;

public:
TNode(TNODETYPE &dat ):data(data) ,lptr(0),rptr(0)
{

// empty definition 

}

TNODETYPE getData() const
{


return data;

}

};









